package com.sunny.ynhz.bean;

import java.util.List;

/**
 * Created by luao on 2017/8/24.
 */

public class BannerBean {
    /**
     * data : [{"newsurl":"http://gzhzsp.sunnyhf.com:8080/RiverSystem/pages/patrol_problem/keyAttention.html","picurl":"http://gzhzsp.sunnyhf.com:8080/news/home/home1.png"},{"newsurl":"http://gzhzsp.sunnyhf.com:8080/RiverSystem/pages/patrol_problem/keyAttention.html","picurl":"http://gzhzsp.sunnyhf.com:8080/news/home/home2.png"},{"newsurl":"http://gzhzsp.sunnyhf.com:8080/RiverSystem/pages/patrol_problem/keyAttention.html","picurl":"http://gzhzsp.sunnyhf.com:8080/news/home/home3.png"},{"newsurl":"http://gzhzsp.sunnyhf.com:8080/RiverSystem/pages/patrol_problem/keyAttention.html","picurl":"http://gzhzsp.sunnyhf.com:8080/news/home/home4.png"}]
     * code : 1
     * msg : 数据查询成功！
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * newsurl : http://gzhzsp.sunnyhf.com:8080/RiverSystem/pages/patrol_problem/keyAttention.html
         * picurl : http://gzhzsp.sunnyhf.com:8080/news/home/home1.png
         */

        private String newsurl;
        private String picurl;

        public String getNewsurl() {
            return newsurl;
        }

        public void setNewsurl(String newsurl) {
            this.newsurl = newsurl;
        }

        public String getPicurl() {
            return picurl;
        }

        public void setPicurl(String picurl) {
            this.picurl = picurl;
        }
    }
}
